package com.rentong.wx.cust.dao;

import com.rentong.wx.cust.dto.WxUserInfo;
import tk.mybatis.mapper.common.BaseMapper;

/**
 * @Author: zhangle
 * @Description:
 * @Date: 2018/5/15 11:
 */
public interface WxWxUserInfoMapper extends BaseMapper<WxUserInfo> {
    void updateUserOpenId(WxUserInfo wxUser);

    WxUserInfo hasUserInfo(String phone);

    WxUserInfo getUserByPhone(String phone);

    WxUserInfo getUserByOpenId(String openId);

    void insertUserOpenId(WxUserInfo apiWxUserInfo);
}
